package com.inspinia.base.heartbeat.util;

/**
 * 浏览器心跳的用户id
 * Created by veblen on 2017/1/1.
 */
public class BrowserHeartbeatUserId {
    /**
     * 第一个获取到心跳的用户id
     */
    private final Long firstGetHbUserId;
    /**
     * 失去心跳的用户id
     */
    private Long lostHbUserId;

    /**
     * 获取到心跳的用户id
     */
    private Long gotHbUserId;

    public BrowserHeartbeatUserId(Long gotHbUserId, Long lostHbUserId, Long firstGetHbUserId) {
        this.lostHbUserId = lostHbUserId;
        this.gotHbUserId = gotHbUserId;
        this.firstGetHbUserId = firstGetHbUserId;
    }

    public Long getFirstGetHbUserId() {
        return firstGetHbUserId;
    }

    public Long getLostHbUserId() {
        return lostHbUserId;
    }

    public void setLostHbUserId(Long lostHbUserId) {
        this.lostHbUserId = lostHbUserId;
    }

    public Long getGotHbUserId() {
        return gotHbUserId;
    }

    public void setGotHbUserId(Long gotHbUserId) {
        this.gotHbUserId = gotHbUserId;
    }
}
